Page({
    data: {
        type:'',
        title:'',
        msg:''
    },
    onLoad: function (options) {
        console.log(options,'options')
        this.setData({
            title:options.title,
            type:options.type,
            msg:options.msg
        },()=>{
            console.log(this.data.type)
        })
    },
    noGoIndex(){
        wx.navigateBack({
            delta: 3
        })
    },
    noGoAgain(){
        wx.navigateBack({
            delta: 2
        })
    }
});